package cn.shengchao.examstar.pay.model.service.fy.request;

import cn.shengchao.examstar.pay.model.service.fy.ParamName;
import cn.shengchao.examstar.pay.model.service.fy.RandomNumberGenerator;

public class FuYouOrderQueryRequest extends BaseFuYouRequest {
    @ParamName("version")
    private String version = "1";
    @ParamName("ins_cd")
    private String insCd;
    @ParamName("mchnt_cd")
    private String mchntCd;
    @ParamName("term_id")
    private String termId = "8888888";
    @ParamName("order_type")
    private String orderType;
    @ParamName("mchnt_order_no")
    private String mchntOrderNo;
    @ParamName("random_str")
    private String randomStr;

    public FuYouOrderQueryRequest(String tradeNo, String insCd, String mchntCd, String orderType) {
        this.mchntOrderNo = tradeNo;
        this.insCd = insCd;
        this.mchntCd = mchntCd;
        this.orderType = orderType;
        this.randomStr = RandomNumberGenerator.generateNumber();
    }

    // Getters and Setters
    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getInsCd() {
        return insCd;
    }

    public void setInsCd(String insCd) {
        this.insCd = insCd;
    }

    public String getMchntCd() {
        return mchntCd;
    }

    public void setMchntCd(String mchntCd) {
        this.mchntCd = mchntCd;
    }

    public String getTermId() {
        return termId;
    }

    public void setTermId(String termId) {
        this.termId = termId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getMchntOrderNo() {
        return mchntOrderNo;
    }

    public void setMchntOrderNo(String mchntOrderNo) {
        this.mchntOrderNo = mchntOrderNo;
    }

    public String getRandomStr() {
        return randomStr;
    }

    public void setRandomStr(String randomStr) {
        this.randomStr = randomStr;
    }
}
